package org.example.StudentManagementSystem.dto.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Schema(description = "用户登录信息的响应DTO")
@Setter
@Getter
public class UserLoginDTO {
    @Schema(description = "用户ID", example = "1")
    private int id;

    @Schema(description = "用户名", example = "exampleUser")
    private String username;

    @Schema(description = "用户昵称", example = "Example")
    private String nickname;

    @Schema(description = "用户性别（0: 未知, 1: 男, 2: 女）", example = "1")
    private int gender;

    @Schema(description = "用户手机号", example = "13800138000")
    private String phone;

    @Schema(description = "用户邮箱", example = "user@example.com")
    private String email;

    @Schema(description = "用户头像URL", example = "http://example.com/avatar.jpg")
    private String avatar;

    @Schema(description = "登录令牌", example = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...")
    private String token;
}
